CMAKE beginner step
Table of Content
CMAKE beginner step#
build system is a set of programs that build a software codebase -> producing a final products from source code: executable files, share object (.so) files, static libraries (.a)
for example: Ninja, Make
cma
cmake hello#
cmake_minimum_required(VERSION 3.11)
project(HelloWorld)
add_executable(hello_world hello_world.c)
Add compiler option#
add_compile_options(-Wall -Wextra -Wpedantic)